- index
- The zero-based index at which item should be inserted.
- item
- The object to insert into the IList.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ThreadSafeList(Of T) Dim index As Integer Dim item As T instance.Insert(index, item) |
Parameters
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | is not a valid index in the . |
System.NotSupportedException | The is read-only. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7